/**  
 * @Title: TReg.java
 * @Package test.limit.utils
 * @author maoyun(maoyun0903@163.com)
 * @date 2014-3-28 下午02:24:22
 * @version V1.0
 */ 
package test.limit.utils;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

import com.limit.utils.RegUtil;

import junit.framework.TestCase;

/** 
 * <br/>
 * @author maoyun(maoyun0903@163.com)
 * @date 2014-3-28 下午02:24:22 
 * @version V1.0
 */

public class TReg extends TestCase {

	
	public void testReg(){
		
//		String reg = "/admin/cp/insertValue/";
//		
//		String request = "/admin/cp/insertValues/aaa";
//		
//		Pattern pattern = Pattern.compile(reg);
//		Matcher matcher = pattern.matcher(request);
//		System.out.println(matcher.find());
		
		
//		System.out.println(request.matches("^"+perStr+"$"));
		
		System.out.println(RegUtil.regString("/admin/cp/count", "/admin/system/aaa"));
		
	}
	
	
	
}
